#include <2025Linux.h>
int main(int argc, char *argv[])
{
    int fds[2];
    pipe(fds);
    if(fork()){
        close(fds[1]);
        char buf[4096];
        read(fds[0],buf,4096);
        printf("parent, after read!\n");
        wait(NULL);
    }
    else{
        close(fds[0]);
        sleep(10);
        printf("sleep over!\n");
        write(fds[1],"hello",5);
        exit(0);
    }
    return 0;
}

